package domain

func (m *Message) IsToAndFromEmpty() bool {
	if m.ToIP == "" || m.FromIP == "" || m.ToID == 0 || m.FromID == 0 {
		return true
	}
	return false
}
